const OrdercqControllers = require('../controllers/ordercqControllers')
const express = require('express')
const router = express.Router()
const authMiddleware = require('../middleware/authMiddleware')

router.post('/add',authMiddleware, OrdercqControllers.addNewOrdercq)
router.delete('/del/:id', authMiddleware, OrdercqControllers.delOrdercqById)
router.get('/get/:id', authMiddleware, OrdercqControllers.getOrdercqById)
router.get('/getAll', authMiddleware, OrdercqControllers.getAllOrdercqs)

module.exports = router